package com.wei.jpush;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import cn.jpush.android.api.JPushInterface;

/**
 * 1> 导入jar跟so库
 * 2> 配置manifest文件.添加权限跟注册组件修改appkey
 * 3> 开发
 * 3.1>第三方sdk初始化
 */
public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        JPushInterface.stopPush(BaseApp.getInstance());//停止接受消息
        JPushInterface.resumePush(BaseApp.getInstance());//重新接受推送
    }

}
